#import "./vulnerability_location.fragment.graphql"

fragment VulnerabilityFragment on Vulnerability {
  id
  title
  state
  severity
  detectedAt
  dismissalReason
  vulnerabilityPath
  resolvedOnDefaultBranch
  userNotesCount
  falsePositive @include(if: $vetEnabled)
  issueLinks {
    nodes {
      id
      issue {
        id
        iid
        webUrl
        webPath
        title
        state
      }
    }
  }
  identifiers {
    externalType
    name
  }
  location {
    ...VulnerabilityLocation
  }
  project {
    id
    nameWithNamespace
  }
  reportType
  scanner {
    id
    vendor
  }
}
